home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / packet / bpq408a / cluster.doc < prev    next >
Text File  |  1992-02-09  |  6KB  |  167 lines

  1.  
  2.         G8BPQ Switch to PacketCluster Interface.
  3.                 Version 4.05    
  4.  
  5.  
  6.  
  7. A facility has being developed to allow a PacketCluster to run above
  8. my switch code. This works by emulating the DRSI support routine TNCTSR,
  9. which provides a WA7DED Host Mode interface. It is provided as a TSR
  10. (DEDHOST) which must be run after BPQCODE. If running with Desqview, 
  11. DEDHOST should be run in the PacketCluster window. Version 4.01 (or higher)
  12. of BPQCODE is required. Note that my code emulates a single DSRI port -
  13. multiple comms links may be connected to the switch, but as far as the
  14. Cluster software is concerned, there is a single (virtual) link to the
  15. switch, capable of supporting up to 32 sessions.
  16.  
  17.  
  18. BPQCFG.TXT Parameters.
  19.  
  20.   You dont need any TNCPORTs.
  21.  
  22.   MAXCIRCUITS needs to be at least twice the expected number of users. 
  23.   The code supports 32 streams - if you want to use them all you should have
  24.   MAXCIRCUITS=64. (Or more if you are also operating as a switch for other
  25.   users).
  26.  
  27.   APPLICATIONS
  28.  
  29.   Normally I would expect you to want to use the BBSCALL and ALIAS to 
  30.   access the Cluster, so it should be application 1. You may wish to 
  31.   use a more sensible name than BBS - APPLICATIONS=CLUSTER,,*SYS would
  32.   be reasonable. I suggest you run the Remote SYSOP facility, to allow
  33.   you to reconfigure the node without reloading. A BPQ Host version of
  34.   SYSOP (SYSOPH) is included with this release.
  35.  
  36.  
  37. It is possible to run a conventional BBS on the same machine as the
  38. PacketCluster - but only one can have the Level 4 Callsign/Alias.
  39.  
  40.  
  41.  
  42. DEDHOST
  43.  
  44.  
  45. This program requires 5 parameters, all are decimal numbers. A 6th is
  46. optional - if present it is a single letter:
  47.  
  48. Number of Streams.
  49.  
  50. This should match the number in the TNC definition of SYSOP.DAT
  51. The maximum is 32. 
  52.  
  53. Start Stream.
  54.  
  55. The first stream number to use. The switch supports 64 streams. Unless
  56. you are running more than one copy of the PacketCluster, or are also
  57. running a BBS which uses the BPQ HostMode interface, I suggest you start
  58. at port 1.
  59.  
  60. Application.
  61.  
  62. The number allocated to the Cluster in the APPLICATIONS param of BPQCFG.TXT.
  63. Will normally be 1.
  64.  
  65. Buffer Space.
  66.  
  67. The space to be allocated for buffering messages. You can specify up to 60
  68. (Kilobytes). The program will allocate a minimum of 8k even if you specify
  69. less. The space needed will depend on your traffic. I suggest you allocate as
  70. much as you can spare. You can display the current and minimum buffer counts
  71. using the @B and @M commands (ATTACH a stream, then enter (ESC)@B, or (ESC)@M).
  72.  
  73. Interrupt Number.
  74.  
  75. The Interrupt used to by the Cluster to communicate with DEDHOST. Will be
  76. 255, unless you need to use that for some other software.
  77.  
  78. Autotimer Flag.
  79.  
  80. Optional parameter - if set to N, suppresses AUTOTIMER messages (see below)
  81.  
  82.      A typical command line would be DEDHOST 32 1 1 60 255 Y
  83.  
  84.  
  85. Please note that DEDHOST reads BPQCFG.BIN to find what interrupt to use 
  86. to talk to the switch. BPQCFG.BIN must therefore be in the current directory
  87. when DEDHOST is loaded.
  88.  
  89.  
  90. Connect Scripts.
  91.  
  92. All connects must start with C SWITCH. You can then connect to the
  93. required station as normal. 
  94.  
  95.  
  96. Recovery.
  97.  
  98. I've put SWITCH in the NORECOVER list - I'm not sure if it is essential,
  99. but it wont do any harm.
  100.  
  101.  
  102. AUTO-TIMERS.
  103.  
  104. As users often want to remain connected to the cluster for long periods,
  105. it is neccessary to defeat the idle session timeout (usually 15 mins) of
  106. the switch, and any intermediate nodes. It is possible to disable the
  107. timeout on the switch, but this doesnt help users connecting via other nodes.
  108. Some SYSOPS use the timer driven REPEAT.CMD to send a message to each
  109. connected user every 10 minutes. This works, but causes extra network traffic,
  110. and, as the message contains the BELL char, it can be rather irritating.
  111. I have therefore added code to send a message to each connected user after
  112. 11 mins without other traffic. The message consists of two nulls, which seems
  113. to be pretty harmless to most terminal programs. If this is not required,
  114. it may be supressed by adding a 6th paramter of N to the DEDHOST command line.
  115.  
  116.  
  117. Monitoring.
  118.  
  119. The TNC monitor facility can be controlled by the @S command. This takes
  120. two parameters, the first sets MMASK, and the second MCOM. MMASK controls
  121. which radio ports are monitored. This works in the same way as the TNC2
  122. mode MMASK command. Each bit corresponds to a radio port, (bit 0 = port 1),
  123. so to monitor say ports 1 and 3 you should set a value of 101 binary, or
  124. 5 decimal. MCOM controls whether supervisory frames are displayed, in 
  125. addition to information frames.
  126.  
  127. The @S command is entered by ATTACHing  a stream, then entering:
  128.  
  129. (ESC)@SM N      ((ESC) represents the ESC key)
  130.  
  131. where M is the required MMASK value, and N the MCOM setting. MCOM should
  132. be set to 0 or 1 The MMASK value may be specified in decimal, or, if
  133. preceeded by a $, in hex. The default setting is 65535 or $FFFF, which
  134. monitors all ports. 
  135.  
  136.  
  137.  
  138. To access the node from the cluster, attach a stream, then enter
  139. (ESC)CSWITCH  You can then enter node commands, use SYSOP, or
  140. connect to other stations.
  141.  
  142.  
  143. Sample startup file.
  144.  
  145. BPQCODE
  146. SYSOPH 63 RESIDENT
  147. DEDHOST 32 1 1 60 255
  148. PACKCLUS
  149.  
  150. If running with Desqview, BPQCODE and SYSOPH should be run before DV.
  151. DEDHOST should be run in the PacketCluster window.
  152.  
  153.  
  154. Sample SYSOP.DAT (only the relevant bit)
  155.  
  156. SET/TNC1 DRSI 32
  157.  
  158. Remember that however many radio ports you have, the cluster only sees
  159. one TNC port. You cant define TNC2, or use port 2 of TNC1. 
  160.  
  161.  
  162.  
  163.  
  164.  
  165. John Wiseman, G8BPQ
  166. 1/1/92
  167.